package com.zq.structure.proxy;

public interface Student {
    void goToSchool();
    void goHome();
}

class ConcreteStudent implements Student {

    @Override
    public void goToSchool() {
        System.out.println("I am going to school.");
    }

    @Override
    public void goHome() {
        System.out.println("Hey, go home.");
    }
}
